package com.ohs.mapper.before;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ohs.pojo.Order;
import com.ohs.pojo.Order_Product;

import java.util.List;

public interface OrderMapper extends BaseMapper<Order> {

    List<Order_Product> selectListByStatus(String status, Integer userId);

    Order_Product findOrderOne(Integer orderId, Integer userId);

    List<Order_Product> selectListAll(Integer userId);

    List<Order_Product> findOrder_Product(String proName, Integer userId);

    int updateOrderByorderId(Integer orderId);
}
